package mesweb.mesweb.mapper.produce;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mesweb.mesweb.controller.produce.ProduceLinePlanResource;
import mesweb.mesweb.dto.ProducePlan.ProduceLinePlanResourceDto;
import mesweb.mesweb.vo.ProducePlan.ProduceLinePlanResourceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Description: 产线工序资源配置
 * @Author: jeecg-boot
 * @Date:   2021-12-07
 * @Version: V1.0
 */
public interface ProduceLinePlanResourceMapper extends BaseMapper<ProduceLinePlanResource> {

    void initDeviceResource(ProduceLinePlanResourceDto produceLinePlanResourceDto);

    IPage<ProduceLinePlanResourceVo> getProduceLinePlanResources(Page page, @Param("ew") QueryWrapper queryWrapper);
    List<ProduceLinePlanResourceVo> getProduceLinePlanResources(@Param("ew") QueryWrapper queryWrapper);

}
